gxbb: Workaround for PSCI_CPU_OFF
authorAntonio Nino Diaz <antonio.ninodiaz@arm.com>
Wed, 10 Oct 2018 22:50:35 +0000 (23:50 +0100)
committerAntonio Nino Diaz <antonio.ninodiaz@arm.com>
Fri, 26 Oct 2018 10:53:53 +0000 (11:53 +0100)
commit253d1695a97297920e557f581a325449e74d1595
tree13d8cefe259ece8d884a7e75feb21075cd598e38
parentd1bc71455bfb7a4bf1dc9c8bcd06cc58663fadbf
gxbb: Workaround for PSCI_CPU_OFF

There seems to be a problem where SCP can't turn CPU0 off. Instead of
returning PSCI_E_DENIED or crashing make CPU0 wait in a WFE loop. This
way all CPUs have a consistent behaviour from the point of view of the
caller.

Change-Id: I5c8c266ca3b69c9e7a4f5ae70afeea5dd36a0825
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
plat/meson/gxbb/gxbb_pm.c